package com.design.principle.listkovsutlution;

/**
 * @program: designPattern
 * @description:
 * @author: STU756
 * @create: 2021-01-19 01:12
 */
public class Square implements QuadRangle{
    private long length;

    public long getLength() {
        return length;
    }

    public void setLength(long length) {
        this.length = length;
    }

    @Override
    public long getWidth() {
        return getLength();
    }

    @Override
    public long getHeight() {
        return getLength();
    }
}
